package com.anyou.mall.use.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author: gaochaohao
 * @Description: 查询用户消息参数
 * Date: 2022/4/14
 */
@Data
@ApiModel(value = "查询用户消息参数")
public class NoticeParam implements Serializable {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "小程序用户id",required = true)
    @NotNull(message = "小程序用户id不能为空")
    private Long miniUserId;

    @ApiModelProperty(value = "消息类型：0-全部，1-新订单，2-售后订单，3-系统",required = true)
    @NotNull(message = "消息类型不能为空")
    private Integer type;
}
